package io.leo.leoutils.bean;

import android.graphics.drawable.Drawable;

public class Application {
    public String appName;
    public Drawable icon;
    public boolean isSystemApp;
    public String packageName;

    public Application() {
        super();
    }

    public Application(String appName, Drawable icon, boolean isSystemApp, String packageName) {
        this.appName = appName;
        this.icon = icon;
        this.isSystemApp = isSystemApp;
        this.packageName = packageName;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public Drawable getIcon() {
        return icon;
    }

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }

    public boolean isSystemApp() {
        return isSystemApp;
    }

    public void setSystemApp(boolean systemApp) {
        isSystemApp = systemApp;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    @Override
    public String toString() {
        return "Application{" +
                "appName='" + appName + '\'' +
                ", icon=" + icon +
                ", isSystemApp=" + isSystemApp +
                ", packageName='" + packageName + '\'' +
                '}';
    }
}
